<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
	<head th:fragment="head(title)">
		<meta charset="utf-8" />
		<meta name="viewport" content="width-device-width, initial-scale=1.0" />
		<title th:replace="${title}">fragment页面</title>
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.10/semantic.min.css">
		<!-- 引入typo.css进行排版 -->
		<link th:href="@{/css/typo.css}" rel="stylesheet" type="text/css" href="../static/css/typo.css"/>
		<!-- 引入animate.css展示动画 -->
		<link th:href="@{/css/animate.css}" rel="stylesheet" type="text/css" href="../static/css/animate.css"/>
		<!-- 引入prism.css支持代码高亮 -->
		<link th:href="@{/lib/prism/prism.css}" rel="stylesheet" type="text/css" href="../static/lib/prism/prism.css"/>
		<!-- 引入tocbot生成文章目录 -->
		<link th:href="@{/lib/tocbot/tocbot.css}" rel="stylesheet" type="text/css" href="../static/lib/tocbot/tocbot.css"/>
		<!-- 引入自定的me.css -->
		<link th:href="@{/css/me.css}" rel="stylesheet" type="text/css" href="../static/css/me.css">
	</head>
	<body>
        
        <!-- 导航 -->
        <nav th:fragment="menu(n)" class="ui inverted attached segment m-padded-tb-mini m-shadow-small">
            <div class="ui container">
                <div class="ui inverted secondary stackable menu">
                    <h2 class="ui teal header item">*听雨*</h2>
                    <a th:classappend="${n==1} ? 'active'" href="#"  th:href="@{/}"  class="m-item item m-mobile-hide"><i class="mini home icon"></i>首页</a>
                    <a th:classappend="${n==2} ? 'active'" href="#"  th:href="@{/types/-1}" class="m-item item m-mobile-hide"><i class="mini idea icon"></i>分类</a>
                    <a th:classappend="${n==3} ? 'active'" href="#"  th:href="@{/tags/-1}" class="m-item item m-mobile-hide"><i class="mini tags icon"></i>标签</a>
                    <a th:classappend="${n==4} ? 'active'" href="#"  th:href="@{/archives}" class="m-item item m-mobile-hide"><i class="mini clone icon"></i>归档</a>
                    <a th:classappend="${n==5} ? 'active'" href="#"  th:href="@{/about}" class="m-item item m-mobile-hide"><i class="mini info icon"></i>关于我</a>
					<!--搜索框-->
					<div class="right m-item  item m-mobile-hide">
						<form name="search" action="#"  th:action="@{/search}"  method="post" target="_blank">
							<div class="ui icon inverted transparent input">
								<input name="query" type="text" placeholder="Search..."/>
								<i onclick="document.forms['search'].submit()" class="search link icon"></i>
							</div>
						</form>
					</div>
                </div>
            </div>
            <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
                <i class="sidebar icon"></i>
            </a>
        </nav>


		<!-- 底部footer -->
		<footer th:fragment="footer" class="ui inverted vertical segment m-padded-tb-massive">
			<div class="ui center aligned container">
				<div class="ui inverted divided stackable grid">
					<!-- 左边图片 -->
					<div class="three wide column">
						<div class="ui inverted link list">
							<img th:src="@{/img/spring_boot.jpg}" src="../static/img/spring_boot.jpg"   class="ui rounded image" style="width: 100px;">
						</div>
					</div>
					<!-- 友链 -->
					<div class="three wide column">
						<h4 class="ui inverted header m-text-spaced m-opacity-mini">友链</h4>
						<div class="ui inverted link list">
							<a href="#" class="item m-opacity-mini">听雨1</a>
							<a href="#" class="item m-opacity-mini">听雨2</a>
							<a href="#" class="item m-opacity-mini">听雨3</a>
						</div>
					</div>
					<!-- 联系我 -->
					<div class="three wide column">
						<h4 class="ui inverted header m-text-spaced m-opacity-mini">联系我</h4>
						<div class="ui inverted link list">
							<p class="item m-opacity-mini">Email : 1186472484@qq.com</p>
							<p class="item m-opacity-mini">QQ : 1186472484</p>
						</div>
					</div>
					<!-- 关于博客 -->
					<div class="seven wide column">
						<h4 class="ui inverted header m-text-spaced m-opacity-mini">关于</h4>
						<div class="ui inverted link list">
							<p class="item m-text-thin m-text-spaced m-opacity-mini">这是我的个人博客，会分享编程、Linux、mac os相关内容，希望能给大家带来帮助。</p>
						</div>
					</div>
				</div>
				<!-- 横线 -->
				<div class="ui inverted section divider"></div>
				<!-- 版权 -->
				<p class="m-text-thin m-text-spaced m-opacity-tiny">copyright © 2020 - 2022 asdfghjkl</p>
			</div>
		</footer>
	</body>
</html>
